//
//  FMCardView.h
//  FreeMark
//
//  Created by gaopr on 2019/2/17.
//  Copyright © 2019年 gaopr. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class FMCardView;
@protocol FMCardViewDelegate <NSObject>

- (void)onColorViewHidden:(FMCardView *)view;
- (void)onColorViewEndEdit:(FMCardView *)view;

@end

@interface FMCardView : UIView

@property (nonatomic, weak) id<FMCardViewDelegate> delegate;

@property (nonatomic, weak) UILabel *titleLabel;

@property (nonatomic, weak) UITextField *titleTextField;

@property (nonatomic, weak) UITextView *descTextView;

@property (nonatomic, weak) UILabel *descTextViewPlaceHolder;

@property (nonatomic, weak) UILabel *descLabel;

@property (nonatomic, weak) UIImageView *bgImageView;

@property (nonatomic, weak) UIButton *titleColorButton;

@property (nonatomic, weak) UIButton *descLabelColorButton;

@property (nonatomic, weak) UIButton *backGroundColorButton ;

@property (nonatomic, weak) UIButton *confirmButton;

@property (nonatomic, weak) UIButton *backGroundImageButton;

@end

NS_ASSUME_NONNULL_END
